<p-card class="flex-1 flex"
  styleClass="flex flex-1 flex-column">
  <ng-template pTemplate="header">
    <p-toolbar styleClass="header">
      <div class="p-toolbar-group-start"></div>
      <div class="p-toolbar-group-center">
        <span class="text-2xl"
          style="font-size: 30px;font-weight: 900;"
          *ngIf="scenario">{{scenario.Name}}</span>
      </div>
      <div>
        <p-button stuyleClass="mr-2"
          [text]="true"
          (click)="onReloadScenario()"
          title="刷新"
          icon="pi pi-replay">
        </p-button>
        <p-button stuyleClass="mr-2"
          [text]="true"
          [disabled]="!canResetViewport"
          (click)="onResetViewport()"
          title="重置视图"
          icon="pi pi-slack">
        </p-button>
      </div>
    </p-toolbar>
  </ng-template>
  <div class="flex-1 flex">
    <div class="edit-corner">
      <i class="pi pi-file-edit m-2"
        (click)="onEditScenario()"></i>
    </div>
    <div class="flex-1"
      class="graph-container"
      #graphContainer>
    </div>
  </div>
</p-card>
<app-site-info #siteInfo></app-site-info>
<app-pipline-info #piplineInfo></app-pipline-info>
<app-srm-info #srmInfo></app-srm-info>
<app-monitor-board-info #boardInfo></app-monitor-board-info>
<app-rgv-info #rgvInfo></app-rgv-info>